//
//  History.h
//  CarTown
//
//  Created by xionghao on 15/9/25.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>


@interface History : NSManagedObject

@property (nonatomic, retain) NSString * name;
@property (nonatomic, retain) NSDate  * time;
@property (nonatomic, retain) NSString * type;
+(void)addHistory:(NSString *)string WithType:(NSString *)type;
+(NSArray *)gethistroysbyType:(NSString *)type;
-(void)deleteHistory;
@end
